Writing a Client-Server Application in C++
نویسنده
چکیده
Applicationsbased on the client-server model place a special emphasis on the specification of interfaces, the separation of interface and implementation and on the support for multiple implementations of the same interface. The class hierarchy of such an application has to be designed while taking these issues into account. In this paper we present a model for writing client-server applications in C++, based in our experience with the Mach 3 multi-server system. Interfaces are defined by C++ abstract classes, from which implementations are derived. Implementations generally use multiple-inheritance to inherit functionality from other implementation classes. We describe how this simple model was applied to the construction of the clients and servers that compose the Mach 3 multi-server, using standard C++. We discuss how multiple-inheritance simplified the design of the system and the need for run-time, type-safe pointer conversion. Finally, we give an overview of our class library and relevant aspects of the remote object invocation subsystem and summarize our experience with C++ in this project.
منابع مشابه
A Multilingual Application for Automated Essay Scoring
In this paper, we present a text evaluation system for students to improve Basque or Spanish writing skills. The system uses Natural Language Processing techniques to evaluate essays by detecting specific measures. The application uses a client-server architecture and both the interface and the application itself are multilingual. The article also explains how the system can be adapted to evalu...
متن کاملWeb Tools : Rich client / server web applications in F # ( Unpublished draft ) Tomáš Pet ř í č
“Ajax” programming is becoming a de-facto standard for certain types of web applications, but unfortunately developing this kind of application is a difficult task. Developers have to deal with problems like a language impedance mismatch, limited execution runtime for the code running in web browser on the client-side and no integration between client and serverside parts that are developed as ...
متن کاملAFAX: Rich client/server web applications in F#
“Ajax” programming is becoming a de-facto standard for certain types of web applications, but unfortunately developing this kind of application is a difficult task. Developers have to deal with problems like a language impedance mismatch, limited execution runtime for the code running in web browser on the client-side and no integration between client and serverside parts that are developed as ...
متن کاملTransaction Synchronization for XML Data in Client-Server Web Applications
Whenever database centered client-server web applications have to be used by multiple web clients on different platforms, then recently XML has been considered as an important data exchange format. If multiple web clients modify their XML copy of some server side database data, then writing this modifications back to the server side database requires transaction synchronization. We present a tr...
متن کاملA Novel Method for VANET Improvement using Cloud Computing
In this paper, we present a novel algorithm for VANET using cloud computing. We accomplish processing, routing and traffic control in a centralized and parallel way by adding one or more server to the network. Each car or node is considered a Client, in such a manner that routing, traffic control, getting information from client and data processing and storing are performed by one or more serve...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1992